<?php
require_once '../includes/base.php';
$base = new Base();
$base->_init_all();
$go = getGP('go','G');
$url=$_G['cache']->get('link');
if(isset($url[$go]['rssurl'])){
	$_G['db']->query('UPDATE'.table('link').'SET views=views+1 WHERE lid="'.$url[$go]['lid'].'"');
	header("Location: ".$url[$go]['rssurl']);
}
exit;